package com.clwl.supervise.superviseapp.mapper.risk;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.clwl.supervise.superviseapp.entity.risk.JgDynamicScoring;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface JgDynamicScoringMapper extends BaseMapper<JgDynamicScoring> {

    JgDynamicScoring findJgDynamicScoringOverByCompanyId(@Param("companyId") Long companyId);

    Map<String, Object> selectMapById(Long checkId);

    JgDynamicScoring selectByCreatorCompanyId(Long companyId);

    List<JgDynamicScoring> selectProblemList();
}